CUSTOM Windows API Java Wrap 1.08
Loading...
Searching...
No Matches
com.custom.wndapijwrap.CuCustomWndDevice Class Reference

Classes

enum  CashDrawerType
 Cash Drawer connector pin. More...
 
enum  CommunicationPortType
 Communication port. More...
 
enum  CutType
 Paper cut type. More...
 
enum  DevCounterType
 Counter types supported by the devices. More...
 
enum  EjectType
 Eject paper type. More...
 
enum  PaperAlignType
 Paper alignment type. More...
 
enum  TrPrintMode
 Transaction Print. More...
 

Public Member Functions

void Terminate () throws Exception
 Close the communication with the device.
 
short GetInfoPrinterId () throws Exception
 Get the Printer ID.
 
String GetInfoFirmwareVersion () throws Exception
 Get the Firmware Version.
 
String GetInfoDeviceModel () throws Exception
 Get the Device Model.
 
CommunicationPortType GetCapCommPortType () throws Exception
 Get the type of communication port used by the device.
 
Boolean GetCapPrintAvailable () throws Exception
 Get if this device supports print functions.
 
long GetCapPrinterResolution () throws Exception
 Get the print resolution of this device.
 
long GetCapPrintWidth () throws Exception
 Get the print width of this device.
 
void SetCapPrintWidth (long uiNewPrintWidth) throws Exception
 Set the print width of this device.
 
String[] GetCapCodepagesList () throws Exception
 Get the list of all the codepages supported by the library / device.
 
void SetVirtualPaperEndLimit (long uiVirtualPaperEndLimitCm) throws Exception
 Set the Virtual Paper End limit of this device.
 
boolean PrinterIsReady () throws Exception
 Check if the device is ready.
 
PrinterStatus GetPrinterFullStatus () throws Exception
 Get the status of this device.
 
void PrintText (String strText) throws Exception
 Print text on a printer.
 
void PrintText (String strText, boolean bAddLF) throws Exception
 Print text on a printer.
 
void PrintText (String strText, PrintFontSettings printFont) throws Exception
 Print text on a printer.
 
void PrintText (String strText, PrintFontSettings printFont, boolean bAddLF) throws Exception
 Print text on a printer.
 
void PrintImageFromPath (String strImageFilePath, PrintImageSettings printImage) throws Exception
 Print image file from path.
 
void PrintRawImage (PrintImageSettings.RAWBitDepth bits, int[] pRawBuffer, int dwWidth, int dwHeight, PrintImageSettings printImage) throws Exception
 Print RAW image buffer.
 
void PrintRawImage (PrintImageSettings.RAWBitDepth bits, byte[] pRawBuffer, int dwWidth, int dwHeight, PrintImageSettings printImage) throws Exception
 Print RAW image buffer.
 
void PrintBitmapImage (BufferedImage bmpImage, PrintImageSettings printImage) throws Exception
 Print Bitmap image.
 
void PrintBarcode (String strBrcText, PrintBarcodeSettings printBarcode) throws Exception
 Print barcode file from String.
 
void PrintBarcode (int[] bBrcBuffer, PrintBarcodeSettings printBarcode) throws Exception
 Print barcode file from buffer.
 
void PrintBarcode (byte[] bBrcBuffer, PrintBarcodeSettings printBarcode) throws Exception
 Print barcode file from buffer.
 
void SetIgnoreWhiteImages (boolean bIgnore) throws Exception
 Set if ignore, or not, the white Images.
 
void SetGrModeToBlackWhite (PrintImageSettings.ImageGRMode imgGrModeType, int bThreshold) throws Exception
 Set the graphic conversion mode to Black/White and, if necessary, the threshold.
 
void SetPageModeToRoll (boolean bRollMode) throws Exception
 Set the page mode print to Roll mode.
 
void SetGraphicsTopMargin (long uiTopMargin) throws Exception
 Set the top margin added to the graphics print.
 
long GetGraphicsTopMargin () throws Exception
 Get the top margin added to the graphics print.
 
long CommGetReadTimeout () throws Exception
 Get the read timeout of the communication port of this device.
 
void CommSetReadTimeout (long uiRTimeout) throws Exception
 Set the read timeout of the communication port of this device.
 
long CommGetWriteTimeout () throws Exception
 Get the write timeout of the communication port of this device.
 
void CommSetWriteTimeout (long uiWTimeout) throws Exception
 Set the write timeout of the communication port of this device.
 
void CommClearReadBuffer () throws Exception
 Clean the read buffer of the communication port of this device.
 
void CommClearWriteBuffer () throws Exception
 Clean the write buffer of the communication port of this device.
 
int[] CommReadI () throws Exception
 Direct read from communication port of this device.
 
byte[] CommReadB () throws Exception
 Direct read from communication port of this device.
 
int CommWrite (int[] bDataToWrite) throws Exception
 Direct write to communication port of this device.
 
int CommWrite (byte[] bDataToWrite) throws Exception
 Direct write to communication port of this device.
 
void TransactionPrint (CuCustomWndDevice.TrPrintMode tpMode) throws Exception
 Manage the Transaction Print of the device.
 
void Feed (long nFeeds) throws Exception
 Send line feed commands to the device.
 
void Cut (CuCustomWndDevice.CutType cuttype) throws Exception
 Send cut command to the device.
 
void Eject (CuCustomWndDevice.EjectType ejtype) throws Exception
 Send eject command to the device.
 
void EjectWithTimeout (CuCustomWndDevice.EjectType ejtype, int timeOutms) throws Exception
 Send eject with a timeout command to the device.
 
void Present (long presentMM) throws Exception
 Send presentation command to the device.
 
void Align (CuCustomWndDevice.PaperAlignType aligntype) throws Exception
 Send align command to the device.
 
void OpenCashDrawer (CuCustomWndDevice.CashDrawerType drawertype, int timeOn, int timeOff) throws Exception
 Generate pulse on the drawer connector.
 
void ResetDevice (boolean bWaitReset) throws Exception
 Reset the device.
 
void DeletePrinterInternalQueue () throws Exception
 Clear / Delete the internal queue of the device.
 
int GetCounter (DevCounterType devCounter) throws Exception
 Get a device counter.
 
String toString ()
 

Protected Member Functions

 CuCustomWndDevice (int _deviceID, LibraryC _llLibrary)
 
void finalize () throws Exception
 Destructor.
 

Detailed Description

Author
CUSTOM S.p.A.

Constructor & Destructor Documentation

◆ CuCustomWndDevice()

com.custom.wndapijwrap.CuCustomWndDevice.CuCustomWndDevice ( int  _deviceID,
LibraryC  _llLibrary 
)
inlineprotected

Member Function Documentation

◆ Align()

void com.custom.wndapijwrap.CuCustomWndDevice.Align ( CuCustomWndDevice.PaperAlignType  aligntype) throws Exception
inline

Send align command to the device.

Parameters
aligntypethe CuCustomWndDevice.PaperAlignType type to send to the device.
Exceptions
CuCustomWndAPIJWrapException

◆ CommClearReadBuffer()

void com.custom.wndapijwrap.CuCustomWndDevice.CommClearReadBuffer ( ) throws Exception
inline

Clean the read buffer of the communication port of this device.

Exceptions
CuCustomWndAPIJWrapException

◆ CommClearWriteBuffer()

void com.custom.wndapijwrap.CuCustomWndDevice.CommClearWriteBuffer ( ) throws Exception
inline

Clean the write buffer of the communication port of this device.

Exceptions
CuCustomWndAPIJWrapException

◆ CommGetReadTimeout()

long com.custom.wndapijwrap.CuCustomWndDevice.CommGetReadTimeout ( ) throws Exception
inline

Get the read timeout of the communication port of this device.

Returns
the number that is the read timeout (msec), for the communication port, of this device.
Exceptions
CuCustomWndAPIJWrapException

◆ CommGetWriteTimeout()

long com.custom.wndapijwrap.CuCustomWndDevice.CommGetWriteTimeout ( ) throws Exception
inline

Get the write timeout of the communication port of this device.

Returns
the number that is the write timeout (msec), for the communication port, of this device.
Exceptions
CuCustomWndAPIJWrapException

◆ CommReadB()

byte[] com.custom.wndapijwrap.CuCustomWndDevice.CommReadB ( ) throws Exception
inline

Direct read from communication port of this device.

Returns
buffer with the received data.
Exceptions
CuCustomWndAPIJWrapException

◆ CommReadI()

int[] com.custom.wndapijwrap.CuCustomWndDevice.CommReadI ( ) throws Exception
inline

Direct read from communication port of this device.

Returns
buffer with the received data.
Exceptions
CuCustomWndAPIJWrapException

◆ CommSetReadTimeout()

void com.custom.wndapijwrap.CuCustomWndDevice.CommSetReadTimeout ( long  uiRTimeout) throws Exception
inline

Set the read timeout of the communication port of this device.

Parameters
uiRTimeoutthe number that is the new read timeout (msec), for the communication port, of this device.
Exceptions
CuCustomWndAPIJWrapException

◆ CommSetWriteTimeout()

void com.custom.wndapijwrap.CuCustomWndDevice.CommSetWriteTimeout ( long  uiWTimeout) throws Exception
inline

Set the write timeout of the communication port of this device.

Parameters
uiWTimeoutthe number that is the new write timeout (msec), for the communication port, of this device.
Exceptions
CuCustomWndAPIJWrapException

◆ CommWrite() [1/2]

int com.custom.wndapijwrap.CuCustomWndDevice.CommWrite ( byte[]  bDataToWrite) throws Exception
inline

Direct write to communication port of this device.

Parameters
bDataToWritebuffer to send.
Returns
the value of the number of sended bytes.
Exceptions
CuCustomWndAPIJWrapException

◆ CommWrite() [2/2]

int com.custom.wndapijwrap.CuCustomWndDevice.CommWrite ( int[]  bDataToWrite) throws Exception
inline

Direct write to communication port of this device.

Parameters
bDataToWritebuffer to send.
Returns
the value of the number of sended bytes.
Exceptions
CuCustomWndAPIJWrapException

◆ Cut()

void com.custom.wndapijwrap.CuCustomWndDevice.Cut ( CuCustomWndDevice.CutType  cuttype) throws Exception
inline

Send cut command to the device.

Parameters
cuttypethe CuCustomWndDevice.CutType type to send to the device.
Exceptions
CuCustomWndAPIJWrapException

◆ DeletePrinterInternalQueue()

void com.custom.wndapijwrap.CuCustomWndDevice.DeletePrinterInternalQueue ( ) throws Exception
inline

Clear / Delete the internal queue of the device.


Exceptions
CuCustomWndAPIJWrapException

◆ Eject()

void com.custom.wndapijwrap.CuCustomWndDevice.Eject ( CuCustomWndDevice.EjectType  ejtype) throws Exception
inline

Send eject command to the device.

Parameters
ejtypethe CuCustomWndDevice.EjectType type to send to the device.
Exceptions
CuCustomWndAPIJWrapException

◆ EjectWithTimeout()

void com.custom.wndapijwrap.CuCustomWndDevice.EjectWithTimeout ( CuCustomWndDevice.EjectType  ejtype,
int  timeOutms 
) throws Exception
inline

Send eject with a timeout command to the device.

Parameters
ejtypethe CuCustomWndDevice.EjectType type to send to the device.
timeOutmsthe time in milliseconds after which the movement is performed.
Exceptions
CuCustomWndAPIJWrapException

◆ Feed()

void com.custom.wndapijwrap.CuCustomWndDevice.Feed ( long  nFeeds) throws Exception
inline

Send line feed commands to the device.

Parameters
nFeedsThe number of line feed to send to the device.
Exceptions
CuCustomWndAPIJWrapException

◆ finalize()

void com.custom.wndapijwrap.CuCustomWndDevice.finalize ( ) throws Exception
inlineprotected

Destructor.

◆ GetCapCodepagesList()

String[] com.custom.wndapijwrap.CuCustomWndDevice.GetCapCodepagesList ( ) throws Exception
inline

Get the list of all the codepages supported by the library / device.

Returns
string array with the codepages list.
Exceptions
CuCustomWndAPIJWrapException

◆ GetCapCommPortType()

CommunicationPortType com.custom.wndapijwrap.CuCustomWndDevice.GetCapCommPortType ( ) throws Exception
inline

Get the type of communication port used by the device.

Returns
A CommunicationPortType that contains the communication port type.
Exceptions
CuCustomWndAPIJWrapException

◆ GetCapPrintAvailable()

Boolean com.custom.wndapijwrap.CuCustomWndDevice.GetCapPrintAvailable ( ) throws Exception
inline

Get if this device supports print functions.

Returns
A boolean value to know if this device supports print functions.
Exceptions
CuCustomWndAPIJWrapException

◆ GetCapPrinterResolution()

long com.custom.wndapijwrap.CuCustomWndDevice.GetCapPrinterResolution ( ) throws Exception
inline

Get the print resolution of this device.

Returns
A number that is the print resolution.
Exceptions
CuCustomWndAPIJWrapException

◆ GetCapPrintWidth()

long com.custom.wndapijwrap.CuCustomWndDevice.GetCapPrintWidth ( ) throws Exception
inline

Get the print width of this device.

Returns
A number that is the print width (dots) of this device.
Exceptions
CuCustomWndAPIJWrapException

◆ GetCounter()

int com.custom.wndapijwrap.CuCustomWndDevice.GetCounter ( DevCounterType  devCounter) throws Exception
inline

Get a device counter.

Parameters
devCounterThe DevCounter that identify the counter to get from the device.
Exceptions
CuCustomWndAPIJWrapException

◆ GetGraphicsTopMargin()

long com.custom.wndapijwrap.CuCustomWndDevice.GetGraphicsTopMargin ( ) throws Exception
inline

Get the top margin added to the graphics print.

Returns
The fixed top margin (dots) added to every print in graphics mode (default is 16).
Exceptions
CuCustomWndAPIJWrapException

◆ GetInfoDeviceModel()

String com.custom.wndapijwrap.CuCustomWndDevice.GetInfoDeviceModel ( ) throws Exception
inline

Get the Device Model.

Returns
A string containing the model of this device.
Exceptions
CuCustomWndAPIJWrapException

◆ GetInfoFirmwareVersion()

String com.custom.wndapijwrap.CuCustomWndDevice.GetInfoFirmwareVersion ( ) throws Exception
inline

Get the Firmware Version.

Returns
A string containing the Firmware release of this device.
Exceptions
CuCustomWndAPIJWrapException

◆ GetInfoPrinterId()

short com.custom.wndapijwrap.CuCustomWndDevice.GetInfoPrinterId ( ) throws Exception
inline

Get the Printer ID.

Returns
A WORD that containing the Printer ID.
Exceptions
CuCustomWndAPIJWrapException

◆ GetPrinterFullStatus()

PrinterStatus com.custom.wndapijwrap.CuCustomWndDevice.GetPrinterFullStatus ( ) throws Exception
inline

Get the status of this device.

Returns
A PrinterStatus that contains the printer status.
Exceptions
CuCustomWndAPIJWrapException

◆ OpenCashDrawer()

void com.custom.wndapijwrap.CuCustomWndDevice.OpenCashDrawer ( CuCustomWndDevice.CashDrawerType  drawertype,
int  timeOn,
int  timeOff 
) throws Exception
inline

Generate pulse on the drawer connector.

Parameters
drawertypethe CuCustomWndDevice.CashDrawerType connector pin type
timeOnthe pulse ON time in milliseconds
timeOffthe pulse OFF time in milliseconds
Exceptions
CuCustomWndAPIJWrapException

◆ Present()

void com.custom.wndapijwrap.CuCustomWndDevice.Present ( long  presentMM) throws Exception
inline

Send presentation command to the device.

Parameters
presentMMthe value (mm) of the presentation to send to the device.
Exceptions
CuCustomWndAPIJWrapException

◆ PrintBarcode() [1/3]

void com.custom.wndapijwrap.CuCustomWndDevice.PrintBarcode ( byte[]  bBrcBuffer,
PrintBarcodeSettings  printBarcode 
) throws Exception
inline

Print barcode file from buffer.

Parameters
bBrcBufferThe buffer to print into barcode.
printBarcodethe PrintBarcodeSettings with all the parameters / Attributes to use to print the barcode.
Exceptions
CuCustomWndAPIJWrapException

◆ PrintBarcode() [2/3]

void com.custom.wndapijwrap.CuCustomWndDevice.PrintBarcode ( int[]  bBrcBuffer,
PrintBarcodeSettings  printBarcode 
) throws Exception
inline

Print barcode file from buffer.

Parameters
bBrcBufferThe buffer to print into barcode.
printBarcodethe PrintBarcodeSettings with all the parameters / Attributes to use to print the barcode.
Exceptions
CuCustomWndAPIJWrapException

◆ PrintBarcode() [3/3]

void com.custom.wndapijwrap.CuCustomWndDevice.PrintBarcode ( String  strBrcText,
PrintBarcodeSettings  printBarcode 
) throws Exception
inline

Print barcode file from String.

Parameters
strBrcTextThe text string to print into barcode.
printBarcodethe PrintBarcodeSettings with all the parameters / Attributes to use to print the barcode.
Exceptions
CuCustomWndAPIJWrapException

◆ PrintBitmapImage()

void com.custom.wndapijwrap.CuCustomWndDevice.PrintBitmapImage ( BufferedImage  bmpImage,
PrintImageSettings  printImage 
) throws Exception
inline

Print Bitmap image.

Parameters
bmpImagethe bitmap to print.
printImageThe PrintImageSettings with all the parameters / Attributes to use to print the image.
Exceptions
CuCustomWndAPIJWrapException

◆ PrinterIsReady()

boolean com.custom.wndapijwrap.CuCustomWndDevice.PrinterIsReady ( ) throws Exception
inline

Check if the device is ready.

Returns
A boolean value that is true if the communication with the device is ok.
Exceptions
CuCustomWndAPIJWrapException

◆ PrintImageFromPath()

void com.custom.wndapijwrap.CuCustomWndDevice.PrintImageFromPath ( String  strImageFilePath,
PrintImageSettings  printImage 
) throws Exception
inline

Print image file from path.

Parameters
strImageFilePathstring with the image file path.
printImageThe PrintImageSettings with all the parameters / Attributes to use to print the image.
Note
The file formats supported are BMP, GIF, JPEG, PNG, TIFF, Exif, WMF, and EMF.
Exceptions
CuCustomWndAPIJWrapException

◆ PrintRawImage() [1/2]

void com.custom.wndapijwrap.CuCustomWndDevice.PrintRawImage ( PrintImageSettings.RAWBitDepth  bits,
byte[]  pRawBuffer,
int  dwWidth,
int  dwHeight,
PrintImageSettings  printImage 
) throws Exception
inline

Print RAW image buffer.

Parameters
bitsthe bit deph of the RAW data.
pRawBufferRAW buffer to print.
dwWidthwidth (pixels/dots) of the of RAW image.
dwHeightheight (pixels/dots) of the of RAW image.
printImageThe PrintImageSettings with all the parameters / Attributes to use to print the image.
Note
For a correct Monochromatic RAW 1 bit buffer, the size must be always ((width in terms of bytes per row) * Height). About the colors palette, if the bit is 0 it will be a black dot and if if the bit is 1 it will be a white dot.
For a correct Greyscale RAW 8 bit buffer, the size must be always (Width * Height). About the colors palette, the byte 0x00 is the black and the 0xFF is the white.
For a correct RGB RAW 24 bit buffer, the size must be always (Width * Height * 3). About the colors palette, the color 0x000000 is the black and the 0xFFFFFF is the white.
Exceptions
CuCustomWndAPIJWrapException

◆ PrintRawImage() [2/2]

void com.custom.wndapijwrap.CuCustomWndDevice.PrintRawImage ( PrintImageSettings.RAWBitDepth  bits,
int[]  pRawBuffer,
int  dwWidth,
int  dwHeight,
PrintImageSettings  printImage 
) throws Exception
inline

Print RAW image buffer.

Parameters
bitsthe bit deph of the RAW data.
pRawBufferRAW buffer to print.
dwWidthwidth (pixels/dots) of the of RAW image.
dwHeightheight (pixels/dots) of the of RAW image.
printImageThe PrintImageSettings with all the parameters / Attributes to use to print the image.
Note
For a correct Monochromatic RAW 1 bit buffer, the size must be always ((width in terms of bytes per row) * Height). About the colors palette, if the bit is 0 it will be a black dot and if if the bit is 1 it will be a white dot.
For a correct Greyscale RAW 8 bit buffer, the size must be always (Width * Height). About the colors palette, the byte 0x00 is the black and the 0xFF is the white.
For a correct RGB RAW 24 bit buffer, the size must be always (Width * Height * 3). About the colors palette, the color 0x000000 is the black and the 0xFFFFFF is the white.
Exceptions
CuCustomWndAPIJWrapException

◆ PrintText() [1/4]

void com.custom.wndapijwrap.CuCustomWndDevice.PrintText ( String  strText) throws Exception
inline

Print text on a printer.

Parameters
strTextThe text string to print.


Exceptions
CuCustomWndAPIJWrapException

◆ PrintText() [2/4]

void com.custom.wndapijwrap.CuCustomWndDevice.PrintText ( String  strText,
boolean  bAddLF 
) throws Exception
inline

Print text on a printer.

Parameters
strTextThe text string to print.
bAddLFThe boolean that is TRUE if must be send a line feed command after the text.
Exceptions
CuCustomWndAPIJWrapException

◆ PrintText() [3/4]

void com.custom.wndapijwrap.CuCustomWndDevice.PrintText ( String  strText,
PrintFontSettings  printFont 
) throws Exception
inline

Print text on a printer.

Parameters
strTextThe text string to print.
printFontThe PrintFontSettings with all the parameters / Attributes to use to print the text.


Exceptions
CuCustomWndAPIJWrapException

◆ PrintText() [4/4]

void com.custom.wndapijwrap.CuCustomWndDevice.PrintText ( String  strText,
PrintFontSettings  printFont,
boolean  bAddLF 
) throws Exception
inline

Print text on a printer.

Parameters
strTextThe text string to print.
printFontThe PrintFontSettings with all the parameters / Attributes to use to print the text.
bAddLFThe boolean that is TRUE if must be send a line feed command after the text.
Exceptions
CuCustomWndAPIJWrapException

◆ ResetDevice()

void com.custom.wndapijwrap.CuCustomWndDevice.ResetDevice ( boolean  bWaitReset) throws Exception
inline

Reset the device.

Parameters
bWaitResetThe boolean that is TRUE if must be wait the reset and the re-open before exit. If bWaitReset is FALSE, must be close and re-open the device communcation before continue.
Exceptions
CuCustomWndAPIJWrapException

◆ SetCapPrintWidth()

void com.custom.wndapijwrap.CuCustomWndDevice.SetCapPrintWidth ( long  uiNewPrintWidth) throws Exception
inline

Set the print width of this device.

Parameters
uiNewPrintWidthA number that is the new print width (dots) of this device.


Exceptions
CuCustomWndAPIJWrapException

◆ SetGraphicsTopMargin()

void com.custom.wndapijwrap.CuCustomWndDevice.SetGraphicsTopMargin ( long  uiTopMargin) throws Exception
inline

Set the top margin added to the graphics print.

Parameters
uiTopMarginThe fixed top margin (dots) added to every print in graphics mode (default is 16).
Exceptions
CuCustomWndAPIJWrapException

◆ SetGrModeToBlackWhite()

void com.custom.wndapijwrap.CuCustomWndDevice.SetGrModeToBlackWhite ( PrintImageSettings.ImageGRMode  imgGrModeType,
int  bThreshold 
) throws Exception
inline

Set the graphic conversion mode to Black/White and, if necessary, the threshold.

Parameters
imgGrModeTypethe PrintImageSettings.ImageGRMode conversion to black / white mode.
bThresholdthe threshold value to use (only for PrintImageSettings.ImageGRMode.IMAGE_GRMODE_THRESHOLD mode).
Exceptions
CuCustomWndAPIJWrapException

◆ SetIgnoreWhiteImages()

void com.custom.wndapijwrap.CuCustomWndDevice.SetIgnoreWhiteImages ( boolean  bIgnore) throws Exception
inline

Set if ignore, or not, the white Images.

Parameters
bIgnoreThe boolean that is TRUE when a totally white Image must be ignored and not print (default is FALSE).
Exceptions
CuCustomWndAPIJWrapException

◆ SetPageModeToRoll()

void com.custom.wndapijwrap.CuCustomWndDevice.SetPageModeToRoll ( boolean  bRollMode) throws Exception
inline

Set the page mode print to Roll mode.

Parameters
bRollModeThe boolean that is TRUE when the printer prints until the last not white line (default is FALSE).
Exceptions
CuCustomWndAPIJWrapException

◆ SetVirtualPaperEndLimit()

void com.custom.wndapijwrap.CuCustomWndDevice.SetVirtualPaperEndLimit ( long  uiVirtualPaperEndLimitCm) throws Exception
inline

Set the Virtual Paper End limit of this device.

Parameters
uiVirtualPaperEndLimitCmA number that will be the virtual paper end limit, expressed in cm, of this device (for e.g. "1500" is to set 15m).
Exceptions
CuCustomWndAPIJWrapException

◆ Terminate()

void com.custom.wndapijwrap.CuCustomWndDevice.Terminate ( ) throws Exception
inline

Close the communication with the device.

Exceptions
CuCustomWndAPIJWrapException

◆ toString()

String com.custom.wndapijwrap.CuCustomWndDevice.toString ( )
inline

Convert the deviceID to a String

◆ TransactionPrint()

void com.custom.wndapijwrap.CuCustomWndDevice.TransactionPrint ( CuCustomWndDevice.TrPrintMode  tpMode) throws Exception
inline

Manage the Transaction Print of the device.

Parameters
tpModethe CuCustomWndDevice.TrPrintMode type to send to the device.
Exceptions
CuCustomWndAPIJWrapException